<template>
  <div class="yaoqing">
    <div class="shang">
      <span class="iconfont icon-fanhui" @click="fanhui()"></span>
      <p>企业邀请</p>
      <div class="tou">
        <span class="iconfont icon-dian"></span>
        <div class="zhongjian"></div>
        <span class="iconfont icon-shuangyuanquan"></span>
      </div>
    </div>
    <div class="zhong">
      <p class="pshang">苏苏获得一百元现金</p>
      <p class="pzhong">雅雅获得一百元现金</p>
      <p class="pxia">蓉蓉获得一百元现金</p>
    </div>
    <div class="xia">
      <div class="xiashang"></div>
      <div class="xiazhong">
        <div class="xiazhongzhong">
          <h1 class="hongbao">最高可得100百元现金红包奖励</h1>
          <h1 class="yuan">
            <span class="span">100</span>元
          </h1>
          <p>企业成功注册后并与餐厅签订用餐协议的用户</p>
        </div>
      </div>
      <div class="xiaxia">
        <h1>每推荐一位好友注册团餐</h1>
        <img src="../../../../assets/fonts2/7.png" alt />
        <p>马上邀请吧，大奖等你来</p>
      </div>
    </div>
    <div class="lianjie">
      <img src="../../../../assets/fonts2/8.png" alt />
    </div>
    <div class="lianjienei">
      <p>分享链接给企业</p>
      <p>企业入驻成功</p>
      <p>获得分销奖励</p>
    </div>
    <div class="jiangli">
      <div class="jianglinei">
        <div class="jianglishang">
          <h1>我的收益</h1>
          <p>
            立即提现
            <span class="iconfont icon-qianjin"></span>
          </p>
        </div>
        <div class="jianglizhong">
          <p>可提现金额</p>
          <div></div>
          <p>待结算金额</p>
          <div></div>
          <p>已提现金额</p>
        </div>
        <div class="jianglixia">
          <p>￥99.9</p>
          <p>￥99.9</p>
          <p>￥99.9</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import axios from "axios";
export default {
  name: "",
  data() {
    return {};
  },
  methods: {
    fanhui(){
      this.$emit("fanhuis")
    }
  }
};
</script>

<style scoped>
@import url("../../../../assets/fonts2/iconfont.css");
.yaoqing {
  width: 100vw;
  height: 100vh;
  padding-top: 80px;
  background: rgba(251, 165, 114);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  overflow-x: auto;
}
.shang {
  width: 100%;
  height: 50px;
  background-image: url("../../../../assets/fonts2/4.png");
  font-weight: bold;
  background-position: top;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(251, 165, 114);
  position: fixed;
  top: 30px;
  left: 0;
  z-index: 1;
}
.shang > span {
  margin-left: 10px;
}
.ding {
  width: 100%;
  height: 30px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.ding img {
  width: 100%;
  height: 30px;
}
.tou {
  width: 100px;
  height: 30px;
  background: rgba(145, 145, 145);
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-right: 10px;
}
.zhongjian {
  width: 1px;
  height: 60%;
  background: #fff;
}
.zhong {
  width: 100%;
  height: 100px;
  background: url("../../../../assets/fonts2/6.png");
  background-size: 100% 100%;
  position: relative;
}
.zhong p {
  width: 160px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  text-align: center;
  line-height: 30px;
}
.pshang {
  position: absolute;
  top: 5px;
  right: 5px;
  transform: translate(0, -15px);
  transition: all 0s;
}
.pzhong {
  position: absolute;
  top: 40px;
  right: 5px;
  transform: translate(0, -15px);
  transition: all 0s;
}
.pxia {
  position: absolute;
  top: 75px;
  right: 5px;
  transform: translate(0, -15px);
  transition: all 0s;
}
.xia {
  width: 80%;
  height: 300px;
  margin: 0 auto;
  margin-top: 20px;
}
.xiashang {
  width: 100%;
  height: 60px;
}
.xiazhong {
  width: 100%;
  height: 130px;
  background: rgba(255, 132, 44);
  position: relative;
}
.xiazhongzhong {
  width: 80%;
  height: 190px;
  background: rgba(249, 227, 186);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -125px;
  margin-left: -40%;
  text-align: center;
}
.xiazhongzhong .hongbao {
  width: 100%;
  line-height: 50px;
  color: red;
  font-size: 12px;
}
.xiazhongzhong .yuan {
  width: 100%;
  height: 90px;
  line-height: 90px;
  color: red;
  font-size: 15px;
}
.xiazhongzhong .yuan .span {
  font-size: 70px;
}
.xiazhongzhong p {
  width: 180px;
  height: 30px;
  line-height: 20px;
  font-size: 13px;
  margin: 0 auto;
  color: red;
}
.xiaxia {
  width: 100%;
  height: 110px;
  background: rgba(255, 72, 72);
  text-align: center;
}
.xiaxia h1 {
  font-size: 18px;
  color: #fff;
  line-height: 40px;
  font-weight: 400;
}
.xiaxia p {
  font-size: 12px;
  color: #fff;
  line-height: 20px;
}
.lianjie {
  width: 80%;
  height: 80px;
  background: red;
  margin: 20px 10% 0 10%;
}
.lianjie img {
  width: 100%;
  height: 100%;
}
.lianjienei {
  width: 100vw;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lianjienei p {
  font-size: 12px;
  color: #fff;
  margin: 0 23px;
}
.jiangli {
  width: 96%;
  height: 100px;
  margin: 0 auto;
  background: rgba(255, 238, 191);
}
.jianglinei {
  width: 90%;
  height: 100%;
  margin: 0 auto;
}
.jianglishang {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.jianglishang h1 {
  font-size: 20px;
  color: red;
}
.jianglishang p {
  color: red;
}
.jianglishang p span {
  margin-left: 20px;
}
.jianglizhong {
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.jianglizhong p {
  color: red;
}
.jianglizhong div {
  width: 1px;
  height: 20px;
  background: red;
}
.jianglixia {
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.jianglixia p {
  color: red;
}
</style>